export function resolvePath(base, ...args) {
    const ret = base.split('/');
    args.forEach((v) => {
        if (v === '..') ret.pop();
        else ret.push(...v.split('/'));
    });
    return ret.join('/');
}
